#include "WindRegisterObj.h"
#include "ObjController.h"
#include <sstream>
#include "CmdEnvironment.h"
using namespace std;

CWindRegisterObj::CWindRegisterObj()
{
	// register to object controller.
	Register();
}

CWindRegisterObj::~CWindRegisterObj(void)
{
	UnRegister();
}

void CWindRegisterObj::Register()
{
	CObjController::Instance().Register(this);
}

void CWindRegisterObj::UnRegister()
{
	CObjController::Instance().UnRegister(this);
}